package com.example.development.jvmStudy;

/**
 * @author: vince_zww
 * @date: 2020/8/3 14:38
 * @desceription:
 */
public class JvmTest5 {

    public static void main(String[] args) throws Exception{
        Thread.sleep(40000);
        while (true){
            loadData();
        }
    }
    private static void loadData() throws Exception{
        byte[] data = null;
        for (int i = 0; i < 50; i++) {
            data = new byte[100*1024];
        }
        data=null;

        Thread.sleep(1000);
    }
}
